#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>

int main()
{
  printf("before PID = %d PPID = %d\n",getpid(),getppid());
  fork();
  printf("after PID = %d PPID = %d\n",getpid(),getppid());
  return 0;
}
